package ynu.edu.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import ynu.edu.entity.Orders;
import java.util.List;

public interface OrdersRepository extends JpaRepository<Orders, Integer> {
    List<Orders> findByUserId(Integer userId);
} 